package com.wms.service;

import com.wms.bean.PageBean;
import com.wms.bean.ResultBean;
import com.wms.dto.*;
import com.wms.entity.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StockInService {
    PageBean queryProcessInTask(int page, int pageSize, ProcessIn process);
    PageBean queryProcessInDetail(int page, int pageSize,ProcessInDetailDTO process);
    PageBean queryPurchaseStockInTask(int page, int pageSize, PurchaseStockIn stock);
    PageBean queryPurchaseStockInDetail(int page, int pageSize, PurchaseDetailDTO stock);
    int addPurchaseInTask(Arrival arrival);
    int deletePurchaseStockInDetail(int id);
    PageBean queryPQInTask(int page,int pageSize);
    ResultBean addPQInTask(List<MasDTO> list);
    PageBean queryDirectInTask(int page, int pageSize , DirectInDTO direct);
    PageBean queryDirectInDetail(int page, int pageSize, DirectInDetailDTO direct);
    int addDirectInTask(DirectIn direct,List<DirectInDetail> list);
    int addProcessInTask(ProcessIn process, List<ProcessInDetail> list);
    PageBean queryStockInRecords(int page,int pageSize,RecordDTO record);
}
